<template>
	<view class="personal">
		<view class="user_info">
			<view class="background">
			</view>
			<view class="tip">
				待收货
			</view>
			<view class="info">
				<u-card :head-style="headStyle">
					<view class="info_wrap" slot="body">
						<view class="image">
							<image src="https://z3.ax1x.com/2021/11/28/oKpDmt.png" mode="widthFix"></image>
						</view>
						<view class="information">
							<view class="name">
								张三<text class="phone">1355445588</text>
							</view>
							<view class="address">
								广州市海珠区琶洲展馆111广州市海珠区琶洲展馆111广州市海珠区琶洲展馆111
							</view>
						</view>
					</view>
				</u-card>
			</view>
		</view>
		<view class="goods">
			<u-card :head-style="headStyle" :body-style="headStyle">
				<view class="goods_detail" slot="body">
					<view class="text">
						共1件商品
					</view>
					<view class="content">
						<view class="left">
							<view class="image">
								<image src="https://z3.ax1x.com/2021/11/28/oKpDmt.png" mode="widthFix"></image>
							</view>
							<view class="info">
								<view class="info_top">
									<view class="name">
										汽车挂件
									</view>
									<view class="type">
										黑色系列
									</view>
								</view>
								<view class="money">
									￥88
								</view>
							</view>
						</view>
						<view class="right">
						x 1
						</view>
					</view>
				</view>
			</u-card>

		</view>
		<view class="order_detail">
			<u-card :head-style="headStyle">
				<view class="order_wrap" slot="body">
				<view class="item">
					<view class="left">
						订单编号：
					</view>
					<view class="right">
						46846546496
					</view>
				</view>
				<view class="item">
					<view class="left">
						下单时间：
					</view>
					<view class="right">
						2020-02-5 18:12:50
					</view>
				</view>
				<view class="item">
					<view class="left">
						支付方式：
					</view>
					<view class="right">
						微信
					</view>
				</view>
				</view>
			<view class="all_money" slot="foot">
					商品总价：<text>￥888</text>
			</view>
			</u-card>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				headStyle: {
					padding: 0
				}
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page {
		background-color: #f1f1f1;
	}

	.personal {
		.user_info {
			position: relative;

			.tip {
				position: absolute;
				left: 30rpx;
				top: 0;
				font-size: 34rpx;
				font-weight: 700;
				color: #fff;
			}

			.background {
				height: 160rpx;
				background-color: #eb3626;

			}

			.info {
				width: 100%;
				position: absolute;
				bottom: -110rpx;
				left: 0;

				.info_wrap {
					display: flex;
					align-items: center;

					.image {
						width: 80rpx;
						height: 80rpx;

						image {
							width: 100%;
							border-radius: 50%;
							overflow: hidden;
						}
					}

					.information {
						margin-left: 16rpx;

						.name {
							font-size: 32rpx;
							font-weight: 700;
							margin-bottom: 6rpx;

							.phone {
								font-size: 26rpx;
								font-weight: normal;
								margin-left: 10rpx;
								color: #666666;
							}
						}

						.address {
							font-size: 26rpx;
						}
					}
				}
			}
		}

		.goods {
			margin-top: 100rpx;
		}

		.goods_detail {
			padding: 20rpx 26rpx;
			.content {
				margin-top: 20rpx;
				display: flex;
				justify-content: space-between;

				.left {
					display: flex;
					
					.image {
						margin-right: 20rpx;
						width: 160rpx;
						height: 160rpx;
						
						image {
							width: 100%;
							border-radius: 10rpx;
						}
					}
					.info{
						display: flex;
						flex-direction: column;
						justify-content: space-between;
						.name{
							font-size: 30rpx;
							font-weight: 700;
						}
						.type{
							font-size: 24rpx;
						}
						.money{
							font-weight: 700;
							color: #f30701;
						}
					}
				}

				.right {
					color: #b2b2b2;
				}
			}
		}
		.order_wrap{
			.item{
				margin-top: 16rpx;
				display: flex;
				justify-content: space-between;
				.left{
					color: #000;
				}
				.right{
					color: #666666;
					font-size: 24rpx;
				}
			}
		}
		.all_money{
			text-align: right;
			color: #000;
			text{
				color: #f30701;
				font-weight: 700;
			}
		}
	}
</style>
